.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
p,
blockquote,
th,
td {
  margin: 0;
  padding: 0;
}

body {
  // font-family: "Sans-serif";
  font-family: "Helvetica Neue";
  // line-height: 2;
}

html,
body {
  height: 100%;
  overflow: hidden;
}

fieldset,
img {
  border: 0;
}

ol,
ul {
  list-style: none;
}

em {
  font-style: normal;
}

input,
button,
select,
textarea {

  outline: none;
}

* {
  box-sizing: border-box;
}

textarea {
  resize: none;
}

//禁用了文本的拖拉，尤其在谷歌下
p {
  text-align: justify;
  text-justify: distribute;
}

//为了使文本段落左右两边对齐
p {
  word-wrap: break-word
}

a {
  text-decoration: none;
}

i {
  display: inline-block;
}

/*a:hover { color: #f60; text-decoration:none; }*/

address,
cite,
code,
em,
th {
  font-weight: normal;
  font-style: normal;
}

a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
}

/*a:link{color:#009;}*/

/*a:visited{color:#800080;}*/

a:hover,
a:active,
a:focus {
  text-decoration: underline;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

.hidden {
  display: none;
}

.padding {
  padding: 0 !important;
}

.margin {
  margin: 0 !important;
}

.smallMargin {
  margin-left: 8px;
}

.mrginTop {
  margin-top: 15px;
}

.smallMarginTop {
  margin-top: 8px;
}

.mrginRight {
  margin-right: 15px;
}

.smallMarginRight {
  margin-right: 5px;
}

.contentPadding {
  padding: 15px;
}

.align-right {
  text-align: right;
}

.son-align-right>input {
  text-align: right;
}

.pull-right {
  float: right !important;
}

.pull-left {
  float: left !important;
}

.el-dialog__footer {
  text-align: center;
}

.pull-center {
  text-align: center;
}

.pull-center td {
  text-align: center;
}

.pull-flex {
  display: flex;
}

.pull-overflow {
  overflow: hidden;
}

.pull-auto {
  height: auto;
  overflow: hidden;
}

.pull-height {
  height: 100%;
  overflow: hidden;
}

.pull-fixed {
  position: fixed;
  left: 0;
  top: 0;
}

.text-white {
  color: #fff;
}

.smallWidth {
  width: 80px !important;
}

@keyframes tag {
  from {
    transform: translateX(12px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

// ------------------------------------------------------以下是云代帐公共css----------------------------------------------------------------
// 表格表头错位问题
// body .el-table th.gutter{
//   display: table-cell!important;
// }

// 通用颜色
@redColor: #EC7984; // 红色警告字体颜色

.redColorFont {
  color: @redColor;
}

.smallFont {
  font-size: 12px;
}

.clearfix {
  display: block;
  zoom: 1;

  &:after {
    content: " ";
    display: block;
    font-size: 0;
    height: 0;
    clear: both;
    visibility: hidden;
  }
}

// select默认下拉框
.el-select {
  width: 100%
}

// iconfont字体大小
.iconfont {
  font-size: 14px;
}

.blackFont {
  color: #333333;
}

// 禁用表单的默认value颜色
.el-input.is-disabled .el-input__inner,
.el-cascader.is-disabled .el-cascader__label,
.el-textarea.is-disabled .el-textarea__inner {
  color: #606266
}

//树形结构
.el-tree-node__content:hover,
.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content {
  background-color: #f5f7fa;
  color: #39A4ED;
}

.bscroll-indicator {
  background: rgba(142, 141, 141, 0.5) !important;
}

// 全局通用的单选框
.el-radio {
  font-size: 12px;
  position: relative;
  left: 6px;
  white-space: normal;
  // color: #fff
}

.el-radio__input {
  &.is-checked {
    .el-radio__inner {
      background: #fff
    }
  }

  .el-radio__inner {
    border: 1px solid #37a8f6;

    &::after {
      width: 6px;
      height: 6px;
      background-color: #37a8f6
    }
  }
}

.el-table__header th {
  text-align: center;
  color: #444;
  font-size: 15px;
  background: #fafafa;
  padding: 6px 0px;
}

.el-card {
  border: none;

  .el-card__header {
    padding-left: 0px;
    padding-right: 0px;
    border-bottom: 1px dashed #999;
    margin-bottom: 20px;
  }
}

// 全局警示框的图标设置
.el-message-box__status.el-icon-warning {
  color: #f56c6c;
  font-size: 22px !important;
}

// 全局对话弹框样式
.el-dialog__header {
  padding-top: 12px;

  .el-dialog__title {
    font-size: 17px;
  }
}

.el-dialog__body {
  padding-top: 16px;
  padding-bottom: 8px;

  .el-form-item--mini .el-form-item__label {
    line-height: 1;
    font-size: 14px
  }

  .el-date-editor.el-input {
    width: 100%
  }

  .el-cascader {
    width: 100%
  }

  .el-select {
    width: 100%
  }

  .el-input.is-disabled .el-input__inner {
    background-color: #eee
  }

  .el-form--label-top .el-form-item__label {
    padding-bottom: 6px
  }
}

.modelHeight {
  .el-dialog__body {
    max-height: 400px;
    overflow: auto;

    .clearMarginLeft {
      .el-form-item__content {
        margin-left: 0 !important;
      }
    }
  }
}

.el-dialog__header {
  border-bottom: 1px solid #dcdfe6
}

// 默认搜索按钮容器及按钮样式
.search_btn_container {
  position: relative;
  padding-right: 78px !important;

  .search_btn {
    position: absolute;
    right: 10px;
    top: 0px;
    width: 54px;
    height: 36px;
    line-height: 36px;
    background-color: #39A4ED;
    padding: 0px 20px;
    font-size: 18px;
    box-sizing: border-box;

    .el-icon-search {
      position: relative;
      left: -3px;
    }
  }
}

.test_Hide{//文本溢出处理
  overflow:hidden;
	text-overflow:ellipsis;
	white-space:nowrap
}

.underline {
  // 下划线
  text-decoration: underline;
  cursor: pointer;
}

.blueColor {
  color: #39A4ED;
}

.hoverToBlue:hover {
  // 鼠标浮动变成淡蓝色
  color: #117dc7;
  cursor: pointer;
  // text-decoration: underline;
}

// .el-table th {
//   text-align: center !important;
// }

// tabs弹框
.templateTabs {
  padding: 5px 12px 15px 12px;

  .el-tabs__nav {
    width: 100%;
  }

  .templateTabMainp1 {
    padding-left: 15px;
  }

  .templateTabMainp2 {
    padding-left: 15px;
    margin-top: 15px;
  }
}

.templateTabsBottom {
  text-align: center;
  margin: 0;
  background: #f4f4f4;
  padding: 5px 0 5px 0;
}

.el-popover {
  padding: 0;
}

// 二级tabs css
.secondTabs .el-tabs__item {
  font-size: 16px;
}

.secondTabs .secondTabList {
  padding-left: 30px !important;
}

// 三级页面导航
.bomNavigation {
  .bomNavigationActive {
    color: #37A8F6;
  }
  li {
    float: left;
    padding: 0 15px;
    border-right: 1px solid #999999;
    height: 15px;
    line-height: 15px;
    color: #333333;
    font-size: 15px;
    &:first-child {
      padding-left: 0;
    }

    &:last-child {
      border-right: none;
    }

    &:hover {
      color: #37A8F6;
      cursor: pointer;
    }
  }
}

// .el-breadcrumb__inner.is-link:hover
// 提示弹框通用样式
.tipsModule {
  line-height: 75px;
  text-align: center;
  width: 350px;
  margin: 30px auto;
  overflow: hidden;

  img {
    width: 95px;
    float: left;
    margin-right: 10px;
  }

  span {
    font-size: 18px;
    display: block;
    height: 100%;
    line-height: 2;
    float: left;
    position: relative;
    top: 10px;
  }
}

// 打印弹框
.printingMain {
  .item {
    margin-bottom: 15px;

    .el-date-editor {
      width: 150px !important;
    }
  }
}

.subjectSelectWidth {
  width: 135px;
}

// 页面头部
.pageTitle {
  position: relative;
  background: #fafafa;
  padding: 8px 10px;
  border: 1px solid #ebebeb;
  font-size: 14px;
  color: #606266;
  border-radius: 2px;

  .isbalanced {
    // 平衡或者不平衡
    width: 66px;
    position: absolute;
    top: -8px;
  }

  .subjectSelect {
    width: 160px;
  }

  // 按钮中的图标为最小
  .el-button {
    .iconfont {
      font-size: 12px;
    }
  }

  .adjustmentPeriodTitle {
    font-size: 15px;
  }
}

// 顶部进度条样式修改
#nprogress .bar {
  background-color: #ff9547;
}

#nprogress .peg {
  box-shadow: 0 0 10px #ff9547, 0 0 5px #ff9547;
}

// 页面主体
.pageContent {
  padding: 15px 28px 15px 13px;
  background: #ffffff;
  margin-top: 10px;
  margin-left: 15px;
  box-shadow: 0px 0px 7px #efefef;
  width: 100%;
  height: 100%;
}

.secondTabs {
  background: #f5f6fa !important;

  .secondTabList {
    padding-left: 54px;
    background: #FFFFFF;
    box-shadow: 0px 0px 7px #efefef;

    .el-tabs__header {
      margin: 0;
    }

    .el-tabs__nav-wrap::after {
      background: none;
    }
  }
}

.el-input .el-input__inner {
  border-radius: 0 !important;
  border-top: none !important;
  border-right: none !important;
  border-left: none !important;
  background: none !important;
  &::placeholder {
    color: #999;
}

&::-webkit-input-placeholder {
    /* WebKit browsers 适配谷歌 */
    color: #999;
}

&:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 适配火狐 */
    color: #999;
}

&::-moz-placeholder {
    /* Mozilla Firefox 19+ 适配火狐 */
    color: #999;
}

&:-ms-input-placeholder {
    /* Internet Explorer 10+  适配ie*/
    color: #999;
}
}

// 表格操作icon
.operationIcon {
  font-size: 18px;

  &:hover {
    color: #37A8F6;
    cursor: pointer;
  }
}

// 科目余额表的更多搜索弹出框的位置
.searchCriteria {
  margin-top: 40px !important;
}

// 分页组件公用样式
.pagination .el-select--mini,
.pagination .el-input--mini,
.pagination .el-input__inner {
  height: 100% !important;
}

.pagination .el-input__inner {
  line-height: 22px !important;
}

.tableContent {
  // height: 100%;
  height: calc(100% - 36px);
  // float: left;
  position: relative;
  padding-left: 20px;
  width: 100%;
  padding-right: 0;
  // box-shadow: 0px 0px 20px #d4dcf0;
  // .el-table {
  //   height: calc(100% - 35px);
  // }
}

.main > .main-content > .views {
  width: calc(100% - 20px) !important;
  height: calc(100% - 20px) !important;
  margin-left: 10px;
  margin-top: 10px;
  overflow: auto;
  padding: 10px;
  .pageHead {
    // height: 35px;
    // line-height: 35px;
    // float: left;
    // width: 100%;
  }
  .pageMain { // 页面主体部分
    margin-top: 17px;
    width: 100%;
    height: calc(100% - 52px);
    float: left;
    position: relative;
    overflow: auto;
  }
}
.el-dialog__header {
  background: #F7F8FC;
}
.el-dialog__footer {
  border-top: 1px solid #dcdfe6;
  padding: 15px 20px 15px;
  .dialog-footer {
    padding: 15px 20px 15px;
    .el-button--default {
      background: #97A2BE;
      color: #FFFFFF;
      &:hover {
        background: #adb9d8;
      }
    }
  }
}
.el-input{
  .el-input__inner{
    border-top: none!important;
    border-left: none!important;
    border-right: none!important;
    border-radius: 0!important;
  }
}
.el-pagination.is-background .el-pager li:not(.disabled).active {
  background-color: #39A4ED;
}
// .el-pagination.is-background .el-pager li:not(.disabled):hover {
//    color: #39A4ED;
// }

.monthMinWidth {
  // 月份选择框固定宽度
  width: 131px !important;
}

.datePickerWidth {
  // 日期选择框固定宽度
  width: 160px !important;
}

// 一些表格公共样式
.pageInnerTable.el-table {
  thead {
    th {
      border: none;
      color: #87888C;
      background: #F5F8FD;
    }
  }
  tbody {
    td {
      // border-bottom: none;
      .iconfont {
        color: #999;
        &:hover {
          color: #39A4ED;
          cursor: pointer;
        }
      }
    }
  }
}

// .el-table th {
//   font-weight: normal;
//   padding: 0 !important;
//   height: 36px;
//   font-size: 13px!important;
//   color: #000;
// }
// .el-table .cell {
//   font-size: 12px!important;
//   color: #333;
// }

.formHead {
  padding: 10px 20px;
  background: #F9FAFF;
  margin-bottom: 20px;
}

// // 全局btn 样式
// .el-button--primary {
//   background-color: #57B2F2!important;
//   &:hover{
//     background-color: #31A2F2!important;
//   }
// }
// .el-button.is-round{
//   border-radius: 5px!important;
// }
// .el-button{
//   font-size: 12px!important;
//   padding: 7px 10px!important;
// }
/* ----------------------------------------------PC端自适应 css媒体查询------------------------------------------------------ */

// /*1024*/
// @media screen and (min-width:0) and (max-width: 1329px) {
// }

// /*1366*/
// @media screen and (min-width: 1330px) and (max-width: 1367px) {
// }  

// /*1440*/
// @media screen and (min-width: 1368px) and (max-width: 1479px) {
// }

// /*1920*/
// @media screen and (min-width: 1480px) {
// }

/*1024*/
@media screen and (min-width:0) and (max-width: 1329px) {

  // 页面头部操作区
  .pageTitle {

    .el-input,
    .el-select {
      margin-right: 5px;
    }

    .el-button {
      // margin-left: 5px;
    }

    .narrowPulldown {
      width: 100px;
    }

    // 是否平衡图片位置
    .isbalanced {
      left: 35%;
    }
  }

  // 侧边导航的宽度
  .menu .el-menu-vertical-demo:not(.el-menu--collapse) {
    width: 160px;
  }

  // 页面主体
  .pageContent {
    .captionText {
      margin-bottom: 5px;
      font-size: 15px;
    }
  }

  // 编辑公式弹框头部操作区
  .ejectTiele {
    .formLabel {
      font-size: 15px;
      padding-right: 0px;
    }

    .subjectSelect {
      width: 160px;
    }

    .symbolSelect {
      width: 80px;
    }
  }

  // 小弹框的宽度
  .smallModule {
    width: 43%;
  }

  // 大弹框的宽度
  .bigModule {
    width: 73%;
    height: 552px;
  }
}

/*1366*/
@media screen and (min-width: 1330px) and (max-width: 1367px) {

  // 页面头部操作区
  .pageTitle {

    .el-input,
    .el-select {
      margin-right: 10px;
    }

    .el-button {
      // margin-left: 10px;
    }

    .narrowPulldown {
      width: 135px;
    }

    // 是否平衡图片位置
    .isbalanced {
      left: 37%;
    }
  }

  // 侧边导航的宽度
  .menu .el-menu-vertical-demo:not(.el-menu--collapse) {
    width: 140px;
  }

  // 页面主体
  .pageContent {
    .captionText {
      margin-bottom: 6px;
      font-size: 16px;
    }
  }

  // 编辑公式弹框头部操作区
  .ejectTiele {
    .formLabel {
      font-size: 15px;
      padding-right: 10px;
    }

    .subjectSelect {
      width: 150px;
    }

    .symbolSelect {
      width: 80px;
    }
  }

  // 小弹框的宽度
  .smallModule {
    width: 35%;
  }

  // 大弹框的宽度
  .bigModule {
    width: 55%;
    height: 552px;
  }
}

/*1440*/
@media screen and (min-width: 1368px) and (max-width: 1479px) {

  // 页面头部操作区
  .pageTitle {

    .el-input,
    .el-select {
      margin-right: 10px;
    }

    .el-button {
      // margin-left: 10px;
    }

    .narrowPulldown {
      width: 135px;
    }

    // 是否平衡图片位置
    .isbalanced {
      left: 35%;
    }
  }

  // 侧边导航的宽度
  .menu .el-menu-vertical-demo:not(.el-menu--collapse) {
    width: 145px;
  }

  // 页面主体
  .pageContent {
    .captionText {
      margin-bottom: 6px;
      font-size: 16px;
    }
  }

  // 编辑公式弹框头部操作区
  .ejectTiele {
    .formLabel {
      font-size: 16px;
      padding-right: 10px;
    }

    .subjectSelect {
      width: 150px;
    }

    .symbolSelect {
      width: 80px;
    }
  }

  // 小弹框的宽度
  .smallModule {
    width: 35%;
  }

  // 大弹框的宽度
  .bigModule {
    width: 55%;
    height: 552px;
  }
}

/*1920*/
@media screen and (min-width: 1480px) {

  // 页面头部操作区
  .pageTitle {

    .el-input,
    .el-select {
      margin-right: 10px;
    }

    .el-button {
      // margin-left: 10px;
    }

    .narrowPulldown {
      width: 150px;
    }

    // 是否平衡图片位置
    .isbalanced {
      left: 28%;
    }
  }

  // 侧边导航的宽度
  .menu .el-menu-vertical-demo:not(.el-menu--collapse) {
    width: 150px;
  }

  // 页面主体
  .pageContent {
    .captionText {
      margin-bottom: 8px;
      font-size: 18px;
    }
  }

  // 编辑公式弹框头部操作区
  .ejectTiele {
    .formLabel {
      font-size: 16px;
      padding-right: 10px;
    }

    .subjectSelect {
      width: 250px;
    }

    .symbolSelect {
      width: 150px;
    }
  }

  // 小弹框的宽度
  .smallModule {
    width: 25%;
  }

  // 大弹框的宽度
  .bigModule {
    width: 55%;
    height: 552px;
  }
}

.el-message{
  z-index: 9999999999999999!important;
}
// .el-button+.el-button {
//   margin-left: 30px;
// }

// 去除input属性为number时出现的上下箭头 start

.inputNumber{
  input::-webkit-outer-spin-button,
  input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
  }
  // 兼容火狐
  input[type="number"] {
    -moz-appearance: textfield;
  }
}
// end

.cascaderClass{
  .el-cascader-panel{
    min-height: 200px;
  }
}


// grid多列布局样式

// 示例  --- n 为小于等于50的数字
// 父元素类名
// grid-col-n  表示盒子中子元素，分n列
// grid-gap-n  表示盒子中子元素之间 边距为n
// row-gap-n  表示单独设置子元素行间距为n
// col-gap-n  表示单独设置子元素列间距为n

// 子元素类名
// col-start-n 表示grid-column-start: n;
// col-end-n 表示grid-column-end: n;
// row-end-n 表示grid-row-end: n;
// row-end-n 表示grid-row-end: n;
@unit: 1px;

.grid-base-mixin {
  display: grid;
  grid-auto-flow: row;
  height: 100%;
}

.gridBase(@i) when (@i<=50) {
  // @size: @i * 5;
  .gridBase(@i + 1);

  .grid-col-@{i} {
    // margin: @size*@unit;
    .grid-base-mixin();
    grid-template-columns: repeat(@i, 1fr);
    // grid-template-columns:repeat(@i, 1fr) minmax(100% / @i, 1fr) ;
    box-sizing: border-box;
    // grid-auto-columns: 1fr;
    grid-column: @i;
  }

  .grid-gap-@{i} {
    grid-gap: @i*@unit;
  }

  .row-gap-@{i} {
    grid-row-gap: @i*@unit;
  }

  .col-gap-@{i} {
    grid-column-gap: @i*@unit;
  }

  .col-start-@{i} {
    grid-column-start: @i;
  }

  .col-end-@{i} {
    grid-column-end: @i;
  }

  .row-start-@{i} {
    grid-row-start: @i;
  }

  .row-end-@{i} {
    grid-row-end: @i;
  }
}

.gridBase(1);

.el-cascader-panel {
  height: 300px;
  }